//
//  BGSafeMutableArray.h
//  Btpin
//
//  Created by Vic on 2019/12/25.
//  Copyright © 2019 Vic. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface BGSafeMutableArray : NSMutableArray

- (void)addObject:(id)anObject;
- (void)insertObject:(id)anObject atIndex:(NSUInteger)index;
- (void)removeLastObject;
- (void)removeObjectAtIndex:(NSUInteger)index;
- (void)replaceObjectAtIndex:(NSUInteger)index withObject:(id)anObject;

- (NSUInteger)count;
- (id)objectAtIndex:(NSUInteger)index;

@end

NS_ASSUME_NONNULL_END
